@import './palette';

@media (max-width: 600px) {
  .form-list {
    .form-item {
      width: 100%;
      margin: none;
    }
  }
}

@media (min-width: 600px) {
  .form-list {
    .form-item {
      width: 300px;
      margin-right: 10px;
    }
  }
}

.form-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.form-item {
  background-color: #fff;
  border-bottom: 1px solid @BACKGROUND_COLOR;
  margin-bottom: 10px;
  padding: 10px;
  word-wrap: break-word;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  h4 {
    margin-top: 0;
  }
  p {
    font-size: 13px;
  }
  &.wide {
    width: auto;
  }
  &.mini {
    padding: 4px;
  }
  ul {
    padding: 0;
    margin: 0;
    list-style: inside;
  }
  .properties {
    .property {
      font-size: 13px;
      margin: 0 0 5px 0;
      overflow: hidden;
      .name {
        margin-right: 5px;
        float: left;
        color: #828282;
      }
      .value {
        font-weight: 600;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
      }
    }
  }
}